<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Priithon.plt.plot_utility.box_object</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Priithon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/priithon">Priithon</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="Priithon-module.html">Package&nbsp;Priithon</a> ::
        <a href="Priithon.plt-module.html">Package&nbsp;plt</a> ::
        <a href="Priithon.plt.plot_utility-module.html">Module&nbsp;plot_utility</a> ::
        Class&nbsp;box_object
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="Priithon.plt.plot_utility.box_object-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class box_object</h1><p class="nomargin-top"><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_priithon_33" name="uml_class_diagram_for_priithon_33">
<area shape="rect" id="node127" href="Priithon.plt.plot_utility.box_object-class.html#__init__" title="Priithon.plt.plot_utility.box_object.__init__" alt="" coords="157,39,315,57"/>
<area shape="rect" id="node127" href="Priithon.plt.plot_utility.box_object-class.html#left" title="Return the x&#45;coordinate of the left edge." alt="" coords="157,57,315,76"/>
<area shape="rect" id="node127" href="Priithon.plt.plot_utility.box_object-class.html#right" title="Return the x&#45;coordinate of the right edge." alt="" coords="157,76,315,95"/>
<area shape="rect" id="node127" href="Priithon.plt.plot_utility.box_object-class.html#top" title="Return the y&#45;coordinate of the top edge." alt="" coords="157,95,315,113"/>
<area shape="rect" id="node127" href="Priithon.plt.plot_utility.box_object-class.html#bottom" title="Return the y&#45;coordinate of the bottom edge." alt="" coords="157,113,315,132"/>
<area shape="rect" id="node127" href="Priithon.plt.plot_utility.box_object-class.html#center_x" title="Return the x&#45;coordinate of the boxes center." alt="" coords="157,132,315,151"/>
<area shape="rect" id="node127" href="Priithon.plt.plot_utility.box_object-class.html#center_y" title="Return the y&#45;coordinate of the left edge." alt="" coords="157,151,315,169"/>
<area shape="rect" id="node127" href="Priithon.plt.plot_utility.box_object-class.html#size" title="Return the size of the box as array((width,height))." alt="" coords="157,169,315,188"/>
<area shape="rect" id="node127" href="Priithon.plt.plot_utility.box_object-class.html#width" title="Return the width of the box (length along x&#45;axis)" alt="" coords="157,188,315,207"/>
<area shape="rect" id="node127" href="Priithon.plt.plot_utility.box_object-class.html#height" title="Return the width of the box (length along y&#45;axis)" alt="" coords="157,207,315,225"/>
<area shape="rect" id="node127" href="Priithon.plt.plot_utility.box_object-class.html#center" title="Return the coordinates of the boxes center as an array" alt="" coords="157,225,315,244"/>
<area shape="rect" id="node127" href="Priithon.plt.plot_utility.box_object-class.html#radial" title="Length of a ray extending from the center of the box at the specified polar angle (in radians) to the edge of the box" alt="" coords="157,244,315,263"/>
<area shape="rect" id="node127" href="Priithon.plt.plot_utility.box_object-class.html#move" title="Move box so that its top left corner is located at the specified location." alt="" coords="157,263,315,281"/>
<area shape="rect" id="node127" href="Priithon.plt.plot_utility.box_object-class.html#contains" title="Priithon.plt.plot_utility.box_object.contains" alt="" coords="157,300,315,319"/>
<area shape="rect" id="node1" href="Priithon.plt.plot_utility.box_object-class.html" title="Helpful for laying out rectangles." alt="" coords="145,6,327,325"/>
<area shape="rect" id="node2" href="Priithon.plt.plot_utility.point_object-class.html" title="Useful for laying points (and boxes) in relation to one another." alt="" coords="5,345,112,383"/>
<area shape="rect" id="node4" href="Priithon.plt.plot_objects.legend_object-class.html" title="Draws a legend to the lines plotted on the graph." alt="" coords="141,345,331,383"/>
<area shape="rect" id="node5" href="Priithon.plt.plot_objects.text_object-class.html" title="Text objects can be placed anywhere in the plot window." alt="" coords="360,345,533,383"/>
<area shape="rect" id="node3" href="Priithon.plt.plot_objects.text_window-class.html" title="Window is currently size=0,0 window for event handling." alt="" coords="355,403,539,442"/>
</map>
  <img src="uml_class_diagram_for_priithon_33.gif" alt='' usemap="#uml_class_diagram_for_priithon_33" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<p>Helpful for laying out rectangles.</p>
  <p>This class has three general areas of functionality:</p>
  <ol start="1">
    <li>
      Retreive information about a box such as it's size, the x-coordinate 
      of its left side, and others.
    </li>
    <li>
      Specify the location of one box (rectangle) in relation to another 
      using methods such as left_of(), above(), or center_on().
    </li>
    <li>
      Change the size (and location) of a box by either choping off a 
      portion of the box using trim_right(), trim_left(), and others or 
      inflating the box by a percentage.
    </li>
  </ol>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__init__"></a><span class="summary-sig-name">__init__</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">topleft</span>,
        <span class="summary-sig-arg">size</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="left"></a><span class="summary-sig-name">left</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Return the x-coordinate of the left edge.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.left">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="right"></a><span class="summary-sig-name">right</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Return the x-coordinate of the right edge.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.right">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="top"></a><span class="summary-sig-name">top</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Return the y-coordinate of the top edge.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.top">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="bottom"></a><span class="summary-sig-name">bottom</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Return the y-coordinate of the bottom edge.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.bottom">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="center_x"></a><span class="summary-sig-name">center_x</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Return the x-coordinate of the boxes center.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.center_x">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="center_y"></a><span class="summary-sig-name">center_y</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Return the y-coordinate of the left edge.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.center_y">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="size"></a><span class="summary-sig-name">size</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Return the size of the box as array((width,height)).</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.size">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="width"></a><span class="summary-sig-name">width</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Return the width of the box (length along x-axis)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.width">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="height"></a><span class="summary-sig-name">height</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Return the width of the box (length along y-axis)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.height">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="center"></a><span class="summary-sig-name">center</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Return the coordinates of the boxes center as an array</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.center">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="radial"></a><span class="summary-sig-name">radial</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">angle</span>)</span><br />
      Length of a ray extending from the center of the box at the specified
      polar angle (in radians) to the edge of the box</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.radial">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#move" class="summary-sig-name">move</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">location</span>)</span><br />
      Move box so that its top left corner is located at the specified 
      location.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.move">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#translate" class="summary-sig-name">translate</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">offset</span>)</span><br />
      Shift the box's location by the amount specifed in offset.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.translate">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#set_size" class="summary-sig-name">set_size</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">sz</span>)</span><br />
      Set the size of the box.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.set_size">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#set_width" class="summary-sig-name">set_width</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">width</span>)</span><br />
      Set the width of the box.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.set_width">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#set_height" class="summary-sig-name">set_height</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">height</span>)</span><br />
      Set the height of the box.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.set_height">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#above" class="summary-sig-name">above</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">other_box</span>,
        <span class="summary-sig-arg">margin</span>=<span class="summary-sig-default">0</span>)</span><br />
      Move box so that its bottom edge has same y-coord of the top edge of 
      other_box.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.above">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#below" class="summary-sig-name">below</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">other_box</span>,
        <span class="summary-sig-arg">margin</span>=<span class="summary-sig-default">0</span>)</span><br />
      Move box so that its top edge has same y-coord of the bottom edge of 
      other_box.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.below">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#left_of" class="summary-sig-name">left_of</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">other_box</span>,
        <span class="summary-sig-arg">margin</span>=<span class="summary-sig-default">0</span>)</span><br />
      Move box so that its right edge has same x-coord of the left edge of 
      other_box.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.left_of">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#right_of" class="summary-sig-name">right_of</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">other_box</span>,
        <span class="summary-sig-arg">margin</span>=<span class="summary-sig-default">0</span>)</span><br />
      Move box so that its left edge has same x-coord of the right edge of 
      other_box.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.right_of">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#center_on_x_of" class="summary-sig-name">center_on_x_of</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">other_box</span>)</span><br />
      Move box so that x-coord of its center equals the x-coord of 
      other_box's center.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.center_on_x_of">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#center_on_y_of" class="summary-sig-name">center_on_y_of</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">other_box</span>)</span><br />
      Move box so that y-coord of its center equals the y-coord of 
      other_box's center.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.center_on_y_of">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#center_on" class="summary-sig-name">center_on</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">other_box</span>)</span><br />
      Move box so that its center is the same as other_box's center.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.center_on">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#same_as" class="summary-sig-name">same_as</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">other_box</span>,
        <span class="summary-sig-arg">edge</span>,
        <span class="summary-sig-arg">margin</span>=<span class="summary-sig-default">0</span>)</span><br />
      Set the specified edge of this box to be aligned with the same edge 
      of other_box.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.same_as">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#radial_offset_from" class="summary-sig-name">radial_offset_from</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">other_box</span>,
        <span class="summary-sig-arg">angle</span>,
        <span class="summary-sig-arg">margin</span>=<span class="summary-sig-default">0</span>)</span><br />
      Move this box so that its center is aligned along a radial ray out of
      other_box's center at the specified angle (in radians), and its edge 
      touches the appropriate edge of other_box.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.radial_offset_from">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#trim_top" class="summary-sig-name">trim_top</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">amount</span>,
        <span class="summary-sig-arg">margin</span>=<span class="summary-sig-default">0</span>)</span><br />
      Remove amount from the top edge of the box.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.trim_top">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#trim_left" class="summary-sig-name">trim_left</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">amount</span>,
        <span class="summary-sig-arg">margin</span>=<span class="summary-sig-default">0</span>)</span><br />
      Remove amount from the left edge of the box.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.trim_left">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#trim_right" class="summary-sig-name">trim_right</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">amount</span>,
        <span class="summary-sig-arg">margin</span>=<span class="summary-sig-default">0</span>)</span><br />
      Remove amount from the right edge of the box.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.trim_right">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#trim_bottom" class="summary-sig-name">trim_bottom</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">amount</span>,
        <span class="summary-sig-arg">margin</span>=<span class="summary-sig-default">0</span>)</span><br />
      Remove amount from the bottom edge of the box.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.trim_bottom">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#trim_all" class="summary-sig-name">trim_all</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">amount</span>,
        <span class="summary-sig-arg">margin</span>=<span class="summary-sig-default">0</span>)</span><br />
      Remove amount from the all edges of the box.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.trim_all">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.plt.plot_utility.box_object-class.html#inflate" class="summary-sig-name">inflate</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">percent</span>)</span><br />
      Expand the box in all directions by the specified percentage.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.inflate">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="contains"></a><span class="summary-sig-name">contains</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">pos</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.contains">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="move"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">move</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">location</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.move">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Move box so that its top left corner is located at the specified 
  location.  Location is an (x,y) pair.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="translate"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">translate</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">offset</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.translate">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Shift the box's location by the amount specifed in offset.  Offset is 
  an (x,y) pair.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="set_size"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">set_size</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">sz</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.set_size">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Set the size of the box. sz is an (x,y) pair.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="set_width"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">set_width</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">width</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.set_width">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Set the width of the box. sz is a numeric value</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="set_height"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">set_height</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">height</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.set_height">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Set the height of the box. sz is a numeric value.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="above"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">above</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">other_box</span>,
        <span class="sig-arg">margin</span>=<span class="sig-default">0</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.above">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Move box so that its bottom edge has same y-coord of the top edge of 
  other_box.  The size does not change.  Optionally, margin specifies the 
  gap between the boxes.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="below"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">below</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">other_box</span>,
        <span class="sig-arg">margin</span>=<span class="sig-default">0</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.below">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Move box so that its top edge has same y-coord of the bottom edge of 
  other_box.  The size does not change.  Optionally, margin specifies the 
  gap between the boxes.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="left_of"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">left_of</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">other_box</span>,
        <span class="sig-arg">margin</span>=<span class="sig-default">0</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.left_of">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Move box so that its right edge has same x-coord of the left edge of 
  other_box.  The size does not change.  Optionally, margin specifies the 
  gap between the boxes.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="right_of"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">right_of</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">other_box</span>,
        <span class="sig-arg">margin</span>=<span class="sig-default">0</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.right_of">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Move box so that its left edge has same x-coord of the right edge of 
  other_box.  The size does not change.  Optionally, margin specifies the 
  gap between the boxes.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="center_on_x_of"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">center_on_x_of</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">other_box</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.center_on_x_of">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Move box so that x-coord of its center equals the x-coord of 
  other_box's center. The size does not change.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="center_on_y_of"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">center_on_y_of</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">other_box</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.center_on_y_of">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Move box so that y-coord of its center equals the y-coord of 
  other_box's center. The size does not change.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="center_on"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">center_on</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">other_box</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.center_on">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Move box so that its center is the same as other_box's center. The 
  size does not change.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="same_as"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">same_as</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">other_box</span>,
        <span class="sig-arg">edge</span>,
        <span class="sig-arg">margin</span>=<span class="sig-default">0</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.same_as">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Set the specified edge of this box to be aligned with the same edge of
  other_box.  The size does not change.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="radial_offset_from"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">radial_offset_from</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">other_box</span>,
        <span class="sig-arg">angle</span>,
        <span class="sig-arg">margin</span>=<span class="sig-default">0</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.radial_offset_from">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Move this box so that its center is aligned along a radial ray out of 
  other_box's center at the specified angle (in radians), and its edge 
  touches the appropriate edge of other_box. Optionally, margin specifies 
  the size of the gap (along the ray) between the two boxes.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="trim_top"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">trim_top</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">amount</span>,
        <span class="sig-arg">margin</span>=<span class="sig-default">0</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.trim_top">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Remove amount from the top edge of the box.  The size and topleft 
  corner of the box are altered appropriately.  Margin specifies an 
  additional amount to be removed.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="trim_left"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">trim_left</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">amount</span>,
        <span class="sig-arg">margin</span>=<span class="sig-default">0</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.trim_left">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Remove amount from the left edge of the box.  The size and topleft 
  corner of the box are altered appropriately.  Margin specifies an 
  additional amount to be removed.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="trim_right"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">trim_right</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">amount</span>,
        <span class="sig-arg">margin</span>=<span class="sig-default">0</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.trim_right">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Remove amount from the right edge of the box.  The size and is altered
  appropriately.  Margin specifies an additional amount to be removed.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="trim_bottom"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">trim_bottom</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">amount</span>,
        <span class="sig-arg">margin</span>=<span class="sig-default">0</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.trim_bottom">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Remove amount from the bottom edge of the box.  The size is altered 
  appropriately.  Margin specifies an additional amount to be removed.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="trim_all"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">trim_all</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">amount</span>,
        <span class="sig-arg">margin</span>=<span class="sig-default">0</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.trim_all">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Remove amount from the all edges of the box.  The size and topleft 
  corner of the bow are altered appropriately.  Margin specifies an 
  additional amount to be removed.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="inflate"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">inflate</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">percent</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.plt.plot_utility-pysrc.html#box_object.inflate">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Expand the box in all directions by the specified percentage. Values 
  &lt; 1 shrink the box.  The center of the box remains the same.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Priithon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/priithon">Priithon</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Nov 22 14:59:38 2010
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
